package com.sunday.fangdaifu.adapter;

import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by 刘涛 on 2017/7/24.
 */

public class GridImgAdapter extends BaseAdapter {

    private Context mContext;
    private List<String> dataSet=new ArrayList<>();

    public GridImgAdapter(Context context, List<String> datas){
        this.mContext=context;
        this.dataSet=datas;
    }


    @Override
    public int getCount() {
        return dataSet.size();
    }

    @Override
    public Object getItem(int position) {
        return dataSet.get(position);
    }

    @Override
    public long getItemId(int position) {
        return 0;
    }

    @Override
    public View getView(int position, View convertView, ViewGroup parent) {
        return null;
    }

}
